﻿namespace MicroCloud.Utils
{
    /// <summary>
    /// 日志级别
    /// </summary>
    [Description("日志级别")]
    public enum LogLevel
    {
        /// <summary>
        /// 0.T.跟踪日志，一般用于普通输出
        /// </summary>
        [Description("跟踪日志")]
        Trace = 0,

        /// <summary>
        /// 1.D.调试日志，一般用于调试程序
        /// </summary>
        [Description("调试日志")]
        Debug = 1,

        /// <summary>
        /// 2.I.信息日志
        /// </summary>
        [Description("信息日志")]
        Info = 2,

        /// <summary>
        /// 3.W.警告日志
        /// </summary>
        [Description("警告日志")]
        Warn = 3,

        /// <summary>
        /// 4.E.错误日志
        /// </summary>
        [Description("错误日志")]
        Error = 4,

        /// <summary>
        /// 5.F.致命异常日志，一般来讲，发生致命异常之后程序将无法继续执行
        /// </summary>
        [Description("致命异常日志")]
        Fatal = 5,

        /// <summary>
        /// 6.O.关闭日志
        /// </summary>
        [Description("关闭日志")]
        Off = 6,

    }
}
